import request from '@/utils/request'
import type { ApiRes } from '@/types/data'

export const getSimpleData = () => {
  return request<ApiRes<{ name: string; value: number }[]>>({
    url: 'data/simpleData'
  })
}
